package com.reservationserver.mapper.admin;

import com.reservationpojo.domin.vo.UpTextvo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
@Mapper
public interface Textmapper {
    @Update("UPDATE text SET text_content=#{textContent} WHERE classes=#{classes}")
    void uptext(UpTextvo upTextvo);
@Select("SELECT text_content from  text where  classes =#{classA}")
    String gettext(String classA);
}
